package xusage.cumulus.deployer;

import java.io.IOException;

import javax.servlet.ServletContext;

import org.springframework.core.io.Resource;

public interface DeployPathDecider {

	/**
	 * 决定需要部署的路径
	 * @param resource
	 * @return
	 * @throws IOException 
	 */
	public String decide(Resource resource) throws IOException;
	
	public void setServletContext(ServletContext context);
}
